/**
 * 
 */
package com.hooray.elasticsearch;

import java.util.Date;

/**
 * @Desc
 *
 * @Author daijunjie
 * @DateTime 2016年4月20日 下午2:50:48
 * 
 */
public class JavaBean {
	private String name;
	private Date date;
	private int num;

	public JavaBean(String name, Date date, int num) {
		this.name = name;
		this.date = date;
		this.num = num;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	@Override
	public String toString() {
		return "Bean [name=" + name + ", date=" + date + ", num=" + num + "]";
	}

}
